FROM golang:alpine AS builder
COPY httpserver/http_server.go /httpserver/
COPY go.mod /httpserver/
WORKDIR /httpserver
RUN go build -o /bin/server
EXPOSE 8080
ENTRYPOINT ["/bin/server"]